// 获取入驻企业的api
export const companyApi = window.$crud("land/info");
// 获取企业更新档案的api
export const firmDocumentApi = window.$crud("land/companySchedule");
// 入驻企业
export const settledEnterpriseTableColmuns = [
  {
    label: "企业名称",
    prop: "name",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "住所",
    prop: "residence",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "企业类型",
    prop: "companyTypeCode",
    minWidth: 140,
    dataType: "dataItem",
    dataCode: "enterprisetype",
    isNotAutoWrap: true,
  },
  {
    label: "产业",
    prop: "industrialCode",
    minWidth: 140,
    dataType: "dataItem",
    dataCode: "industry",
    isNotAutoWrap: true,
  },
  {
    label: "统一社会信用代码",
    prop: "unifiedSocialCreditCode",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "投资日期",
    prop: "investDate",
    minWidth: 140,
    dataType: "datetime",
    format: "yyyy-MM-dd",
    isNotAutoWrap: true,
  },
  {
    label: "注册资本（万元）",
    prop: "registeredCapital",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "联系人",
    prop: "contactName",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "联系电话",
    prop: "contactTel",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "年份",
    prop: "year",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "销售额（万元）",
    prop: "salesVolume",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "税收（万元）",
    prop: "taxRevenue",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
];
// 企业更新档案
export const firmDocumentTableColmuns = [
  {
    label: "所处阶段",
    prop: "stageCode",
    minWidth: 140,
    dataType: "dataItem",
    dataCode: "stage_code",
    isNotAutoWrap: true,
  },
  {
    label: "资料名称",
    prop: "materialName",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "类型",
    prop: "materialTypeCode",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "页数",
    prop: "materialPage",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
  {
    label: "资料日期",
    prop: "materialDate",
    minWidth: 140,
    dataType: "datetime",
    format: "yyyy-MM-dd",
    isNotAutoWrap: true,
  },
  {
    label: "附件",
    prop: "attachment",
    minWidth: 140,
    dataType: "file",
    isNotAutoWrap: true,
  },
  {
    label: "备注",
    prop: "remark",
    minWidth: 140,
    dataType: "input",
    isNotAutoWrap: true,
  },
];
